import request from '@/utils/request'

// 查询医院信息列表
export function listHospital(query) {
  return request({
    url: '/hospital/info/list',
    method: 'get',
    params: query
  })
}

// 修改医院信息
export function updateHospital(data) {
  return request({
    url: '/hospital/info',
    method: 'put',
    data: data
  })
}
